package com.retailtouch.client.managed.request;

import com.google.gwt.requestfactory.shared.RequestContext;
import org.springframework.roo.addon.gwt.RooGwtMirroredFrom;
import com.retailtouch.domain.Items;
import com.google.gwt.requestfactory.shared.Service;
import com.google.gwt.requestfactory.shared.Request;
import com.google.gwt.requestfactory.shared.InstanceRequest;

@RooGwtMirroredFrom(Items.class)
@Service(Items.class)
public interface ItemsRequest extends RequestContext {

    abstract Request<java.lang.Long> countItemses();

    abstract Request<java.util.List<com.retailtouch.client.managed.request.ItemsProxy>> findAllItemses();

    abstract Request<java.util.List<com.retailtouch.client.managed.request.ItemsProxy>> findItemsEntries(int firstResult, int maxResults);

    abstract Request<com.retailtouch.client.managed.request.ItemsProxy> findItems(Long id);

    abstract InstanceRequest<com.retailtouch.client.managed.request.ItemsProxy, java.lang.Void> remove();

    abstract InstanceRequest<com.retailtouch.client.managed.request.ItemsProxy, java.lang.Void> persist();
}
